package com.woniu.gf.pawn.store.client;

import com.woniu.gf.pawn.comm.core.dto.ResultDto;
import com.woniu.gf.pawn.store.param.SelectStoreByShopIdParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @BelongsProject: gf-pawn-system
 * @BelongsPackage: com.woniu.gf.pawn.store.client
 * @Author: wu wei
 * @CreateTime: 2020-10-19 14:48
 * @Description:
 */
@FeignClient("store-server")
public interface StoreClient {
    @GetMapping("store/store/selectStoreByShopId")
    public ResultDto SelectStoreByShopId(@SpringQueryMap @Valid SelectStoreByShopIdParam selectStoreByShopIdParam);
    @GetMapping("store/store/selectStoreNotByShopId")
    public ResultDto selectStoreNotByShopId(@SpringQueryMap @Valid SelectStoreByShopIdParam selectStoreByShopIdParam);
    @GetMapping("store/store/selectAllStores")
    public ResultDto selectAllStores();
}
